package com.example.m_kartupay;
import android.app.Activity;
import android.app.Dialog;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.*;
import android.os.Bundle;

public class PaymentMerchantInvoice extends Activity {
	Button pay;
	 @Override
	  protected void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.payment_merchant_invoice);
	    
	    Button pay = (Button)findViewById(R.id.btnPayment);
	    
	    pay.setOnClickListener(new View.OnClickListener(){
			
			public void onClick(View v) {
				final Dialog dialog = new Dialog(PaymentMerchantInvoice.this);
				 dialog.setContentView(R.layout.enter_pin);
				 dialog.setTitle("Enter PIN");
				 Button enterPIN = (Button) dialog.findViewById(R.id.btnEnterPIN);
				 
				 enterPIN.setOnClickListener(new OnClickListener() {
				     public void onClick(View v) {     
				    	 dialog.dismiss();
				     }
				  });
				
			}
			
	    });
	    
	 }

}
